home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2004 December / maximum-cd-2004-12.iso / Software / Utilities / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ Explorer Options 7.xpl < prev    next >
Encoding:
XSetup plugin  |  2003-07-30  |  1.4 KB  |  44 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 6.0"
  2. "TYPE"="6"
  3. "COUNT"="1"
  4. "UIPATH 1"="Startup/Shutdown\Startup\Windows 9x/ME\80) Windows Launch"
  5. "UIPATH 2"="Startup/Shutdown\Startup\Windows NT/2K/XP\60) Windows Launch"
  6. "UIPATH 3"="Appearance\Explorer\Settings"
  7. "NAME"="Auto-Open Explorer on Restart"
  8. "VERSION"="1.00"
  9. "LANGUAGE"="VBScript"
  10. "TEXT 1"="Auto-Open Explorer on Restart"
  11. "DESCRIPTION 1"="When you have open Explorer windows and shut or restart your PC, Windows will automatically open these windows again when you log-in."
  12. "DESCRIPTION 2"="Basically this is a good idea, since you can continue your work directly without navigating to the folders again."
  13. "DESCRIPTION 3"="However, you might also decide not to have this feature so you can turn it off here." 
  14. "AUTHOR"="Xteq Systems"
  15. "CONTACTURL"="http://www.xteq.com/"
  16. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  17. "COMMENT 1"="Thanks to JM [jm.chaput@USherbrooke.ca] for the idea!"
  18.  
  19.  
  20. sV1="HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\PersistBrowsers"
  21.  
  22. Sub Plugin_Initialize 
  23.  s=RegReadValue(sV1)
  24.  if s="1" then SetUIElement 1,true
  25. End Sub
  26.  
  27. Sub Plugin_CheckData(ElementIndex)
  28. End Sub
  29.  
  30. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  31.  b=GetUIElement(1)
  32.  if b=true then
  33.     Call RegWriteValue(sV1,"1",2)
  34.  else
  35.     Call RegWriteValue(sV1,"0",2)
  36.  end if
  37.  
  38.  
  39.  Call IndicateSettingChange()
  40. End Sub
  41.  
  42. Sub Plugin_Terminate 
  43. End Sub
  44.